<?php
$router = Zend_Controller_Front::getInstance()->getRouter();

//category
$categoryRoute = new Zend_Controller_Router_Route(
    'category/:category',
    array(
    	'module' => 'default',
    	'controller' => 'category',
    	'action' => 'index',
    )
);
$router->addRoute('category', $categoryRoute);

//article
$articleRoute = new Zend_Controller_Router_Route(
    'article/:articleId',
    array(
    	'module' => 'default',
    	'controller' => 'article',
    	'action' => 'index',
    )
);
$router->addRoute('article', $articleRoute);


unset($router, $categoryRoute, $articleRoute);